//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Charli XCX','Knockdown Center','Maspeth, NY','Tuesday','6/11/2024','7:00 PM','6340639','Charli-XCX-6-11-2024'],['Charli XCX','Radius - IL','Chicago, IL','Wednesday','6/12/2024','7:00 PM','6340885','Charli-XCX-6-12-2024'],['Charli XCX','Shrine Expo Hall','Los Angeles, CA','Saturday','6/15/2024','8:00 PM','6340873','Charli-XCX-6-15-2024'],['Charli XCX & Troye Sivan','Little Caesars Arena','Detroit, MI','Saturday','9/14/2024','7:30 PM','6386527','Charli-XCX---Troye-Sivan-9-14-2024'],['Charli XCX & Troye Sivan','Place Bell','Laval, Canada','Monday','9/16/2024','7:00 PM','6386529','Charli-XCX---Troye-Sivan-9-16-2024'],['Charli XCX & Troye Sivan','Scotiabank Arena','Toronto, Canada','Wednesday','9/18/2024','7:30 PM','6386531','Charli-XCX---Troye-Sivan-9-18-2024'],['Charli XCX & Troye Sivan','Nationwide Arena','Columbus, OH','Friday','9/20/2024','7:30 PM','6386533','Charli-XCX---Troye-Sivan-9-20-2024'],['Charli XCX & Troye Sivan','Madison Square Garden','New York, NY','Monday','9/23/2024','7:30 PM','6386534','Charli-XCX---Troye-Sivan-9-23-2024'],['Charli XCX & Troye Sivan','Wells Fargo Center - PA','Philadelphia, PA','Wednesday','9/25/2024','7:30 PM','6386535','Charli-XCX---Troye-Sivan-9-25-2024'],['Charli XCX & Troye Sivan','CFG Bank Arena','Baltimore, MD','Thursday','9/26/2024','7:30 PM','6386536','Charli-XCX---Troye-Sivan-9-26-2024'],['Charli XCX & Troye Sivan','TD Garden','Boston, MA','Saturday','9/28/2024','7:30 PM','6386538','Charli-XCX---Troye-Sivan-9-28-2024'],['Charli XCX & Troye Sivan','United Center','Chicago, IL','Monday','9/30/2024','7:30 PM','6386541','Charli-XCX---Troye-Sivan-9-30-2024'],['Charli XCX & Troye Sivan','Bridgestone Arena','Nashville, TN','Wednesday','10/2/2024','7:30 PM','6386542','Charli-XCX---Troye-Sivan-10-2-2024'],['Charli XCX & Troye Sivan','State Farm Arena - GA','Atlanta, GA','Thursday','10/3/2024','7:30 PM','6386544','Charli-XCX---Troye-Sivan-10-3-2024'],['Charli XCX & Troye Sivan','Kaseya Center','Miami, FL','Saturday','10/5/2024','7:30 PM','6386545','Charli-XCX---Troye-Sivan-10-5-2024'],['Charli XCX & Troye Sivan','Kia Center','Orlando, FL','Sunday','10/6/2024','7:30 PM','6386546','Charli-XCX---Troye-Sivan-10-6-2024'],['Charli XCX & Troye Sivan','American Airlines Center','Dallas, TX','Wednesday','10/9/2024','7:30 PM','6386547','Charli-XCX---Troye-Sivan-10-9-2024'],['Charli XCX & Troye Sivan','Ball Arena','Denver, CO','Friday','10/11/2024','7:30 PM','6386548','Charli-XCX---Troye-Sivan-10-11-2024'],['Charli XCX & Troye Sivan','Footprint Center','Phoenix, AZ','Sunday','10/13/2024','7:30 PM','6386549','Charli-XCX---Troye-Sivan-10-13-2024'],['Charli XCX & Troye Sivan','The Kia Forum','Inglewood, CA','Tuesday','10/15/2024','7:30 PM','6386550','Charli-XCX---Troye-Sivan-10-15-2024'],['Charli XCX & Troye Sivan','The Kia Forum','Inglewood, CA','Wednesday','10/16/2024','7:30 PM','6408580','Charli-XCX---Troye-Sivan-10-16-2024'],['Charli XCX & Troye Sivan','Viejas Arena At Aztec Bowl','San Diego, CA','Friday','10/18/2024','7:30 PM','6386551','Charli-XCX---Troye-Sivan-10-18-2024'],['Charli XCX & Troye Sivan','Chase Center','San Francisco, CA','Sunday','10/20/2024','7:30 PM','6386552','Charli-XCX---Troye-Sivan-10-20-2024'],['Charli XCX & Troye Sivan','Moda Center at the Rose Quarter','Portland, OR','Tuesday','10/22/2024','7:30 PM','6386553','Charli-XCX---Troye-Sivan-10-22-2024'],['Charli XCX & Troye Sivan','Climate Pledge Arena','Seattle, WA','Wednesday','10/23/2024','7:30 PM','6386554','Charli-XCX---Troye-Sivan-10-23-2024'],['Charli XCX','O2 Arena - London','London, United Kingdom','Thursday','11/28/2024','TBD','6374879','Charli-XCX-11-28-2024']],'Charli XCX','http://www.ticketnetwork.com/ticket/Charli-XCX-events.aspx');